package com.tstudy.laoshibang.mode;

import java.util.List;

import com.j256.ormlite.field.DatabaseField;


/**
 * 群组model类
* @CopyRight tstudy.com.cn
* @author wuyahui
* @E-mail wuyahui0124505@163.com
* @version 1.0.0
* @Date 2015年6月3日 上午11:27:02
 */
public class TGroup implements BaseModel {
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	@DatabaseField(id=true)
	public String groupId;
	@DatabaseField
	public String imgIdxName;
	@DatabaseField
	public String name;
	@DatabaseField
	public String description;
	@DatabaseField
	public int memberCn;//	群成员总数	Int	
	@DatabaseField
	public int isSelect;
	@DatabaseField
	public String userNo;
	@DatabaseField
	public String createTime;//	创建时间	String	
	public TGroup() {
		
	}
	
	public TGroup(String groupId,String name) {
		this.groupId = groupId;
		this.name = name;
	}
	
	public DicMap province;	//省	Json	{key:110000, text:’’}
	public DicMap city;	//市	Json	{key:110100, text:’’}
	public DicMap county;	//县	Json	{key:110101, text:’’}
	public DicMap status;//	申请状态	Json	{key:, text:””}, 0:申请,1:通过,2:未申请
	public DicMap isLimit;//	是否群限制	Int	Json对象{key:1, text:””}0:无限制，1:限制
	public List<User> supers;
	public List<User> cms;
}
